package com.cdks.wuxiu.api.service;

import com.cdks.wuxiu.api.model.dto.CloudStorageDTO;
import com.cdks.wuxiu.api.model.dto.KmsgDataDTO;

public interface AuthService {
    String setUserToken(long userId, boolean force);
    String getUserToken(long userId, long nonce, String authCode);
    String getCallToken(long userId, String ucid);

    KmsgDataDTO getKmsgData(long userId);
    CloudStorageDTO getOssAuthData();

    int delUserToken(long userId);
    int checkUserToken(long userId, long nonce, String token);
}
